﻿-- =========================================================================================================
-- Author:		MICHAEL RITACCO
-- Copyright:	2010 MEKHANO GROUP LLC
-- Version:		08/21/2010 1.0
-- =========================================================================================================
CREATE PROCEDURE [flcr].[api_device_config_dml_upd_parent]
	@DEVICE_CONFIG_ID INT
	,@PARENT_ID INT
	
AS
BEGIN TRY
	UPDATE [flcr].[DEVICE_CONFIG]
	   SET [PARENT_ID] = @PARENT_ID
	 WHERE [DEVICE_CONFIG_ID] = @DEVICE_CONFIG_ID

END TRY
BEGIN CATCH
	EXEC [flcr].[utl_getDBError];
END CATCH